﻿using NewRetail.Application.Core.Entity;
using System;

namespace NewRetail.Application.Components.Platform.Entity
{
    public class PosMember : BaseEntityWithNo
    {
        public string memberTypeID { get; set; }
        public string sourceWarehouseID { get; set; }
        public DateTime startDate { get; set; }
        public DateTime endDate { get; set; }
        public string memberName { get; set; }
        public int sex { get; set; }
        public string memberTel { get; set; }
        //生日
        public string memberBirthday { get; set; }
        public decimal cardAmount { get; set; }
        public decimal TotalConsAmount { get; set; }
        /// <summary>
        /// 当前可用积分
        /// </summary>
        public int integral { get; set; }
        public string cashierID { get; set; }

        public PosCashier PosCashier { get; set; }
        public Warehouse.Entity.Warehouse Warehouse { get; set; }
        public PosMemberType PosMemberType { get; set; }

        #region add by cl
        public string openId { get; set; }
        public decimal presentAmount { get; set; }
        /// <summary>
        /// 累计积分
        /// </summary>
        public int totalIntegral { get; set; } = 0;
        #endregion
    }
}
